﻿/*#region z-indexes*/
/*
content :               0-4999
CodeMirror :            5000-5999
Toolbar:                6000-6999   
SiteLayout handles:     7000-7999 
Toolboxes :             8000-9999     
*/
/*#endregion*/


.mceEditor {
    background-color:#fff;
}



.gridster ul.gridsterUl li.gridsterLi {
    background-color:inherit!important;
    border: 1px dashed #C0C0C0;
    list-style: none outside none;
    overflow: hidden;
}

.undo {
    background-color: #fff !important;
}

#divMnuItmEdt fieldset {
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 6px;
    padding-left: 3px;
    padding-right: 3px;
}


    #divMnuItmEdt fieldset ol {
        margin-top: 2px !important;
        margin-left: 15px;
    }

        #divMnuItmEdt fieldset ol label {
            width: 120px;
        }

        #divMnuItmEdt fieldset ol input[type=text] {
            width: 590px;
        }

        #divMnuItmEdt fieldset ol li.liController {
            float: left;
            width: 445px;
        }

            #divMnuItmEdt fieldset ol li.liController .divDisplaysPrivateMenuToPublic {
                float: right;
                margin-right: 5px;
                margin-top: 5px;
                width: 50px;
                text-align: right;
            }

            #divMnuItmEdt fieldset ol li.liController select {
                width: 300px;
            }

        #divMnuItmEdt fieldset ol li.liAction {
            float: left;
            width: 291px;
        }

            #divMnuItmEdt fieldset ol li.liAction label {
                width: 110px;
            }

            #divMnuItmEdt fieldset ol li.liAction select {
                width: 160px;
            }

    #divMnuItmEdt fieldset .MenuItemFlag {
        display: block;
        margin-left: 10px;
        margin-top: -10px;
    }

    #divMnuItmEdt fieldset fieldset ol li.liButtonCaption {
        float: left;
        width: 640px;
    }

        #divMnuItmEdt fieldset fieldset ol li.liButtonCaption input[type=text] {
            width: 500px;
        }

    #divMnuItmEdt fieldset fieldset ol li.liActive {
        float: left;
        position: relative;
        height: 24px;
        margin-left: 15px;
    }

        #divMnuItmEdt fieldset fieldset ol li.liActive label {
            display: inline-block;
            margin-top: 4px;
            height: 24px;
            float: left;
            width: 45px;
        }

        #divMnuItmEdt fieldset fieldset ol li.liActive input[type=checkbox] {
            display: inline-block;
            margin-top: 2px;
            float: left;
        }

    #divMnuItmEdt fieldset fieldset ol li.liButtonToolTip {
        clear: left;
    }

    #divMnuItmEdt fieldset fieldset ol li.liFinalAddress {
    }

        #divMnuItmEdt fieldset fieldset ol li.liFinalAddress .FinalAddress {
            margin-top: 10px;
            margin-bottom: -20px;
            margin-left: -15px !important;
        }

    #divMnuItmEdt fieldset fieldset ol li .finalAddressLabel {
        display: block;
        margin-top: -13px;
        margin-left: 5px;
        border: 1px solid #a6c9e2;
        background-color: #fff;
        padding-left: 4px;
        width: 100px;
    }


    /*#region tblFinalUrl*/
    #divMnuItmEdt fieldset ol li .tblFinalUrl {
        font-size: 8pt;
    }

        #divMnuItmEdt fieldset ol li .tblFinalUrl .tdLabel {
            text-align: center;
        }

        #divMnuItmEdt fieldset ol li .tblFinalUrl .linker {
            border-left: 1px silver solid;
            border-top: 1px silver solid;
            border-right: 1px silver solid;
            height: 5px;
        }

        #divMnuItmEdt fieldset ol li .tblFinalUrl td.slash {
            width: 10px;
        }
        /*#region tdLang*/
        #divMnuItmEdt fieldset ol li .tblFinalUrl label {
            width: auto;
        }

        #divMnuItmEdt fieldset ol li .tblFinalUrl td.Lang {
            width: 36px;
        }

            #divMnuItmEdt fieldset ol li .tblFinalUrl td.Lang input {
                width: 34px;
            }
        /*#endregion*/

        /*#region tdAncestors*/
        #divMnuItmEdt fieldset ol li .tblFinalUrl td.Ancestors {
            width: 210px;
        }

            #divMnuItmEdt fieldset ol li .tblFinalUrl td.Ancestors input {
                width: 208px;
            }
        /*#endregion*/

        /*#region tdMenuName*/
        #divMnuItmEdt fieldset ol li .tblFinalUrl td.MenuName {
            width: 150px;
        }

            #divMnuItmEdt fieldset ol li .tblFinalUrl td.MenuName input {
                width: 148px;
            }
        /*#endregion*/

        /*#region tdPageName*/
        #divMnuItmEdt fieldset ol li .tblFinalUrl td.PageName {
            width: 250px;
        }

            #divMnuItmEdt fieldset ol li .tblFinalUrl td.PageName input {
                width: 248px;
            }

.blued {
    background-color: #dffcff;
}
/*#endregion*/

/*#region tdSuffix*/
#divMnuItmEdt fieldset ol li .tblFinalUrl td.Suffix {
    width: 31px;
}

    #divMnuItmEdt fieldset ol li .tblFinalUrl td.Suffix input {
        width: 29px;
    }
/*#endregion*/

/*#endregion*/

/*#endregion*/

#divMceRibbonBarPlaceholder {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6000;
}

.divToggleEdit {
    float: left;
}

.ribbon_tab_div span.innoSave {
    background-image: url("/Content/images/innoSave.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.innoToggleEdit_Edit {
    background-image: url("/Content/images/innoToggleEdit_Edit.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.innoToggleEdit_Preview {
    background-image: url("/Content/images/innoToggleEdit_Preview.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.innoAddGridsterWidget {
    background-image: url("/Content/images/AddGridsterWidget.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.Layout01 {
    background-image: url("/Content/images/innoInsertLayout01.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.Layout02H {
    background-image: url("/Content/images/innoInsertLayout02H.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.Layout02V {
    background-image: url("/Content/images/innoInsertLayout02V.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.Layout031 {
    background-image: url("/Content/images/innoInsertLayout031.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.Layout032 {
    background-image: url("/Content/images/innoInsertLayout032.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.Layout041 {
    background-image: url("/Content/images/innoInsertLayout041.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.Layout042 {
    background-image: url("/Content/images/innoInsertLayout042.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.RemoveLayout {
    background-image: url("/Content/images/innoRemoveLayout.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.SourceHTML {
    background-image: url("/Content/images/innoSourceHTML.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.SourceCSS {
    background-image: url("/Content/images/innoSourceCSS.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.MenuTop {
    background-image: url("/Content/images/innoLayoutMenuTop.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.MenuLeft {
    background-image: url("/Content/images/innoLayoutMenuLeft.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.SiteLayout {
    background-image: url("/Content/images/innoSiteLayout.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.GeneralSettings {
    background-image: url("/Content/images/innoGeneralSettings.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.PlugIns {
    background-image: url("/Content/images/innoPlugIns.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.Roles {
    background-image: url("/Content/images/innoRoles.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.Users {
    background-image: url("/Content/images/innoUsers.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.ribbon_tab_div span.FileManagement {
    background-image: url("/Content/images/innoFileManagement.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

#divContent_ifr html {
    margin: 0;
}

#divCodePanel {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #ccc;
    height: 180px;
    width: 100%;
    z-index:2147483647;
}

#resizeN {
    position: fixed;
    bottom: 180px;
    width: 100%;
    height: 12px;
    background-color: #bbb;
    /*cursor: n-resize;*/
}

    #resizeN img {
        float: right;
        border: outset 1px #ccc;
        margin-top: 1px;
        cursor: pointer;
    }

#ifrCode {
    width: 100%;
    height: 100%;
}

.bor {
    width: 5%;
}

#divCodeSaveContainer, #divSiteLayoutSaveContainer {
    position: absolute;
    top: 0;
    left: 2px;
}

#divCodeSave, #divSiteLayoutSave {
    width: 60px;
    height: 37px;
    position: relative;
    z-index: 99;
}

#CodeEditorSave, #SiteLayoutSave {
    top: -1px;
    position: absolute;
    left: 14px;
    top: 4px;
    width: 16px!important;
    height: 16px!important;
    cursor: pointer!important;
    background-image: url(/Content/Images/SaveCode.png)!important;
    background-position: center;
}

#SiteLayoutSave {
    left: 2px!important;
}


#CodeEditorCancelSave, #SiteLayoutCancelSave {
    left: 31px;
    top: 18px;
    width: 16px!important;
    height: 16px!important;
    position: absolute;
    cursor: pointer!important;
    background-image: url(/Content/Images/CancelSaveCode.png)!important;
    background-position: center;
}

#SiteLayoutCancelSave {
    left: 42px!important;
}

span.mceIcon.big {
    background-image: none;
}
/*#region AdminUserForm*/
#frmAdminUser {
}

    #frmAdminUser input, #frmAdminUser select {
        padding-left: 3px!important;
    }

    #frmAdminUser .ContactForm {
        float: left;
        width: 685px;
    }

        #frmAdminUser .ContactForm ol {
            float: left;
            height: 140px;
        }

            #frmAdminUser .ContactForm ol.olIcon {
                width: 90px;
                margin-right: 10px;
            }

                #frmAdminUser .ContactForm ol.olIcon span.k-button {
                    width: 90px;
                }

            #frmAdminUser .ContactForm ol.olMainForm {
                width: 460px;
                margin-right: 10px;
            }

            #frmAdminUser .ContactForm ol.olButtons {
                width: 110px;
            }

                #frmAdminUser .ContactForm ol.olButtons .ContactDetailsButton {
                    width: 110px;
                }

    #frmAdminUser .UserForm {
        float: left;
        width: 685px;
    }

        #frmAdminUser .UserForm .box {
            clear: none!important;
        }

        #frmAdminUser .UserForm ol {
            float: left!important;
            height: 110px;
            margin-right: 10px;
        }

        #frmAdminUser .UserForm .olMainForm {
            width: 460px;
        }

        #frmAdminUser .UserForm .olFlagsForm {
            width: 160px;
        }

            #frmAdminUser .UserForm .olFlagsForm label {
                width: 130px!important;
            }

        #frmAdminUser .UserForm .olDatesForm {
            height: 140px!important;
        }

            #frmAdminUser .UserForm .olDatesForm .DateTime {
                width: 150px!important;
            }

        #frmAdminUser .UserForm .olRoles {
            float: left;
            width: 310px;
            height: 140px!important;
            padding: 10px;
        }

/*#endregion*/


.spacingRibbonPanel {
    padding-left: 10px!important;
    width: 230px!important;
}

    .spacingRibbonPanel ul {
        margin: 0;
    }

        .spacingRibbonPanel ul li {
            list-style: none;
            margin-top: 14px;
            float: left;
        }

            .spacingRibbonPanel ul li label {
                width: 60px;
                margin-right: 10px;
                display: inline-block;
            }

            .spacingRibbonPanel ul li span {
                width: 150px;
                display: inline-block;
                margin-right: 10px;
                border: 1px #ccc solid;
            }

#AdminSettings_Tabs .ui-tabs-panel {
    padding-left: 1px!important;
}

    #AdminSettings_Tabs .ui-tabs-panel fieldset {
        min-height: 605px;
    }

    #AdminSettings_Tabs .ui-tabs-panel label.spName {
        width: 150px!important;
    }
    #AdminSettings_Tabs .ui-tabs-panel label.spExpectedType {
        width: 60px!important;
    }
.dynamicFieldValidation {
    clear:both;
    float:left;
    font-size:8pt;
    color:#f00;
    margin-left:220px;
}

.LayoutBalloon {
    position:absolute;
    width:60px;
    height:28px;
    left:-70px;
    top:0;
    background-color:rgb(255, 253, 178);
    padding:3px;
}
.LayoutBalloon ul{
    padding:0;
    margin:0;
}
.LayoutBalloon ul li{
    list-style:none;
}

/*For debug use Blocs colorization*/
/*
.premenu {
    background-color:rgba(239, 207, 10, 0.50);
}
.postmenu {
    background-color:rgba(95, 213, 24, 0.50);
}
#divBody {
    background-color:rgba(24, 161, 213, 0.50);
}
*/

.BGImageUploadButton {
    width:16px;
    height:16px;
    background-image:url(/Content/Images/UploadBGCamera.png);
    background-position:0 0;
    background-repeat:no-repeat;
    float:left;
    left:0;
    top:0;
}
.BGImageUploadButton:hover {
    width:16px;
    height:16px;
    background-position:0 -16px;
}

#AdminSettingsLayoutShowHideDialogDiv li {
    list-style:none;
}
.AdminSettingsLayoutCSSDetails {
    display:inline-block;
    cursor:pointer;
    margin-bottom:-2px;
    float:left;
}
#AdminSettingsLayoutBlockCustomizationDialog textarea {
    resize:none;
    width:520px;
    height:380px;
    margin:auto;
}
.codePanelCloseButton {
    float:right;
    margin-right:0;
    margin-top:-1px;
    cursor:pointer;
}

.layoutSlotDrop {
    position:absolute;
    right:0;
    top:0;
    cursor:pointer;
}
#divFooEditor {
    position:absolute;
    z-index:99998;
}

#divFooEditor_parent {
    margin-left:-1px;
}

td.mceStatusbar {
    background-color:#ddd !important;
}
.fitParentExact {
    display:block !important;
    padding:0;
    margin:0;
    border:none;
}

/*#region UseModeManagement*/
/*******************************************/
/********** USE MODE MANAGEMENT ************/
/*******************************************/
body .layoutSlotDrop,
body .gs-resize-handle
{
    display: none;
}


body.adminMode .ui-dialog {
    top: 200px !important;
}

/*Back office use mode management*/
body.adminMode.siteLayoutMode .layoutSlotDrop,
body.adminMode.siteLayoutMode .gs-resize-handle
{
    display: none;
}

body.adminMode.contentLayoutMode .layoutSlotDrop,
body.adminMode.contentLayoutMode .gs-resize-handle
{
    display: inherit;
}

body.adminMode.structureEditMode .layoutSlotDrop,
body.adminMode.structureEditMode .gs-resize-handle
{
    display: none;
}

body.adminMode.contentEditMode .layoutSlotDrop,
body.adminMode.contentEditMode .gs-resize-handle
 {
    display: none!important;
}
/*#endregion*/

/*#region LayoutHandles*/
.LayoutHandle {
}
.LayoutHandle.W {
    border: outset 1px #ff0000;
    background-color: #ff0000;
    cursor: ew-resize;
}

#MyPrettyCMSContent #PageWidthLeftHandle {
    /*position: absolute;
    float: left;
    left: -10px;
    top: 10px;*/
}

#PageWidthLeftHandleClone {
    position: absolute;
    top: 10px;
    border: none !important;
    background-color: transparent !important;
}

#PageWidthRightHandleClone {
    position: absolute;
    top: 10px;
}

#PageWidthRightHandle {
    position: absolute;
    float: right;
    right: -10px;
    top: 10px;
}

#MenuVerticalPositionHandle {
    position: absolute;
    right: -10px;
    top: 5px;
    cursor: n-resize;
}

.LayoutHandle, .LayoutHandleClone {
    width: 16px;
    height: 16px;
}

.layoutHandleTop {
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: 0px;
    background-color: #fff;
    border: 1px outset #ccc;
    cursor: ns-resize;
}

.layoutHandleLeft {
    position: absolute;
    top: 50%;
    margin-top: -8px;
    left: 0px;
    background-color: #fff;
    border: 1px outset #ccc;
    cursor: ew-resize;
}

.layoutHandleRight {
    position: absolute;
    top: 50%;
    margin-top: -8px;
    right: 0px;
    background-color: #fff;
    border: 1px outset #ccc;
    cursor: ew-resize;
}

.layoutHandleBottom {
    position: absolute;
    left: 50%;
    margin-left: -8px;
    bottom: 0px;
    background-color: #fff;
    border: 1px outset #ccc;
    cursor: ns-resize;
}

.layoutHandleAll {
    position: absolute;
    right: 0px;
    bottom: 0px;
    background-color: #fff;
    border: 1px outset #ccc;
    cursor: nwse-resize;
}
/*#endregion*/
